package com.yy.cli.pattern;

/**
 * @author lyy
 * @description
 * @create 2024/1/7 9:32
 */
public class RemoteControl {
    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void pressButton(){
        command.execute();
    }
}
